package org.yuanqiframework.yuanqi.boot.sys.dto;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Size;

import java.io.Serializable;

import lombok.Data;
import org.hibernate.validator.constraints.Length;

/**
 * @TableName sys_form
 */
@Data
public class SysFormDTO implements Serializable {

    /**
     *
     */
    @NotBlank(message = "[]不能为空")
    @Size(max = 200, message = "编码长度不能超过200")
    @Length(max = 200, message = "编码长度不能超过200")
    private String id;
    /**
     *
     */
    @Size(max = 200, message = "编码长度不能超过200")
    @Length(max = 200, message = "编码长度不能超过200")
    private String title;
    /**
     *
     */
    @Size(max = 2000, message = "编码长度不能超过2000")
    @Length(max = 2000, message = "编码长度不能超过2000")
    private String description;
    /**
     *
     */
    private String data;
}
